package com.geovis.emergency.spd.entity.pc.pojo.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 应急预案指挥模块-消息保存DTO
 * </p>
 *
 * @author 曾德实
 * @since 2022-04-30
 */
@Getter
@Setter
@ToString(callSuper = true)
@Accessors(chain = true)
@ApiModel(value = "PcMessageSaveDTO", description = "应急预案指挥模块-消息保存DTO")
public class PcMessageSaveDTO implements Serializable {

    @ApiModelProperty(value = "演练id", required = true)
    @NotEmpty(message = "演练id 不能为空")
    private String pcDrillId;

    @ApiModelProperty(value = "标题", required = true)
    @NotEmpty(message = "标题 不能为空")
    private String title;

    @ApiModelProperty(value = "内容", required = true)
    @NotEmpty(message = "内容 不能为空")
    private String content;

    @ApiModelProperty(value = "接收用户id集合")
    private List<String> userList;

}
